#include "CudaMemoryErrorHandler.cuh"

__host__ __device__ void check(cudaError return_val, char* message)
{
	if(return_val != cudaSuccess)
	{
		printf("%s\n", message);
		assert(false);
		exit(1);
	}
}
